/*公共样式的css文件*/
/*声明字体图标*/
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?tomleg') format('truetype'),
    url('../fonts/icomoon.woff?tomleg') format('woff'),
    url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.w {
    width: 1200px;
    margin: 0 auto;
}
.style_red {
    color: #c20712;
}

a {
    color: #0f0f0f;
    text-decoration: none;
}

li {
    list-style: none;
}
.fl {
    float: left;
}

.fr {
    float: right;
}

.shortcut {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    background-color: #f1f1f0;
}

.shortcut ul li {
    float: left;
}

.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666666;
    margin: 9px 15px 0;
}

/*使用字体图标*/
.shortcut .fr ul li a::after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 6px;
}

/*header 头部模块制作*/
.header {
    position: relative;
    height: 105px;
}

.header .logo {
    position: absolute;
    top: 27px;
    width: 171px;
    height: 61px;
}

.header .logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url("../images/logo.png") no-repeat;
    font-size: 0;/*实现将文本隐藏*/
}

.header .search {
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #ae1d21;
}

.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    font-size: 16px;
    color: white;
    background-color: #ae1d21;
}

.header .hotwords {
    position: absolute;
    padding-left: 13px;
    top: 66px;
    left: 346px;
}

.hotwords a {
    margin-right: 26px;
    font-size: 12px;
}

.header .shopcar {
    position: absolute;
    top: 27px;
    right: 64px;
    width: 142px;
    height: 37px;
    font-size: 12px;
    line-height: 37px;
    text-align: center;
    background-color: #f7f7f6;
    border: 1px solid #dfdfdf;
}

.header .shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 8px;
    color: #d74f53;
}

.header .shopcar::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 15px;
}

.shopcar .count {
    position: absolute;
    padding: 0 5px;
    top: -5px;
    left: 105px;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
    color: white;
    background-color: #d74f53;
    border-radius: 7px 7px 7px 0;
}

/*nav模块*/
.nav {
    height: 47px;
    border-bottom: 2px solid #af1c21;
}

.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    line-height: 45px;
    background-color: #af1c21;
}

.nav .dropdown dt {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 16px;
    color: white;
}

.nav .dropdown dt:hover dd {
    display: block;
}

.nav .dropdown dd {
    margin-top: 2px;
    width: 210px;
    height: 465px;
    background-color: #c51929;
}

.nav .dropdown dd li {
    position: relative;
    padding-left: 10px;
    margin-left: 2px;
    height: 31px;
    line-height: 31px;
}

.nav .dropdown dd li::after {
    position: absolute;
    right: 12px;
    color: white;
    content: '\e920';
    font-family: 'icomoon', serif;
}

.nav .dropdown dd li:hover,
.nav .dropdown dd li:hover a,
.nav .dropdown dd li:hover::after{
    background-color: #fff;
    color: #c61a2a;
}

.nav .dropdown dd li a {
    font-size: 14px;
    color: white;
}
.nav .navitems {
    float: left;
    height: 45px;
    padding-left: 20px;
}

.nav .navitems li {
    float: left;
    height: 45px;
    line-height: 47px;
}

.nav .navitems li a {
    font-size: 16px;
    padding: 0 26px;
}

/*底部模块的制作*/
.footer {
    padding-top: 32px;
    height: 418px;
    background-color: #f6f5f5;
}

.footer .mod_service {
    height: 80px;
    border-bottom: 1px solid #ecedec;
}

.footer .mod_service li {
    padding-left: 38px;
    float: left;
    width: 300px;
    height: 50px;
}

.footer .mod_service li>h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url("../images/icons.png") no-repeat -252px -3px;
}

.footer .mod_service li .serve_txt {
    float: left;
    padding: 6px ;
}

.footer .mod_service li .serve_txt h4 {
    font-size: 16px;
}

.footer .mod_service li .serve_txt p {
    font-size: 12px;
}


.footer .mod_help {
    height: 187px;
    padding-top: 20px;
    padding-left: 50px;
    border-bottom: 1px solid #ecedec;
}

.footer .mod_help dl {
    float: left;
    margin-right: 120px;
}

.footer .mod_help dt {
    font-size: 20px;
}

.footer .mod_help dd {
    font-size: 14px;
}

.footer .mod_help dl:last-child dd img {
    width: 90px;
    height: 90px;
    margin-top: 12px;
    background-color: #bfc;
    text-align: center;
}

.footer .mod_help dl:last-child dd p {
    margin-top: 10px;
}

/*底部模块样式*/
.mod_copyright {
    padding-top: 20px;
    text-align: center;
}
.mod_copyright .links {
    height: 28px;
    line-height: 28px;
}

.mod_copyright .links a {
    margin: 0 15px;
}
